package com.shopping.huaju.commodity.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2VO {
    private String catalog1Id;  //该2级分类对应的父级父类id
    private List<Catalog3VO> catalog3List;//该2级分类对应的所有子分类
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3VO {
        private String catalog2Id;  //该3级分类对应的父级父类id
        private String id; //该3级分类的id
        private String name;    //该三级分类的name
    }
    private String id; //该二级分类id
    private String name; //该二级分类名称
}
